package cn.gson.work.model.vo;

import cn.gson.work.model.pojos.Dept;

import java.util.List;

public class DeptTree {
    private long deptNo;
    private String deptName;
    private Dept dept;
    private List children;

    public long getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(long deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public List getChildren() {
        return children;
    }

    public void setChildren(List children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "DeptTree{" +
                "deptNo=" + deptNo +
                ", deptName='" + deptName + '\'' +
                ", dept=" + dept +
                ", children=" + children +
                '}';
    }
}
